package com.aoxon.cargo.service;

import java.util.HashMap;

import com.aoxon.cargo.bean.GsonBean;
import com.aoxon.cargo.util.MD5;

/**
 * 登录页面的网络服务
 * 
 * @author ZZJ
 * 
 */
public class LoginSupplierService extends MyService {

	/**
	 * 提交登录数据
	 * 
	 * @param account
	 * @param password
	 * @return
	 */
	public GsonBean execute(String account, String password) {

		url = "login" + suffix;

		params = new HashMap<String, String>();
		params.put("supCount", account);
		params.put("supPassword", new MD5().encrypt(password));

		return doPost();
	}

}
